<h1>New portfolio</h1>

<%= error_messages_for :portfolio %>

<% form_for(:portfolio, :url => portfolios_path) do |f| %>
  <p>
    <b>Amount</b><br />
    <%= f.text_field :amount %>
  </p>

  <p>
    <%= submit_tag "Create" %>
  </p>
<% end %>

<%= link_to 'Back', portfolios_path %>